//
//@File    :	3.12_modulus.cpp
//@Time    :	2021/08/02 20:28:28
//@Auther  :	Sun Sheng
//@Contact :	970340843@qq.com
//@Desc    :	uses % operator to convert 1bs to stone
//

#include <iostream>

int main()
{
    using namespace std;
    const int Lbs_per_stn = 14;
    int lbs;

    cout<<"Enter your weigth in pounds: ";
    cin>>lbs;
    int stone = lbs/Lbs_per_stn;
    int pounds = lbs%Lbs_per_stn;
    cout<<lbs<<" pounds are "<<stone
        <<" stone, "<<pounds<<" pounds(s).\n";
    system("pause");
    return 0;
}